<#include "inc/header.ftl">

	 <div id="bd"> 
	  <div class="yui-g"> 
    	<div class="formulario">
    		<h1>Registro</h1>
    		<form action="registro.html" method="POST" enctype="multipart/form-data">
 				
				<div>
					<label for="nombre">nombre &nbsp;</label><@spring.formInput "usuario.nombre" /> <br/>
					<#list spring.status.errorMessages as error> <b>${error}</b> <br> </#list>
				</div>
				<div>
					<label for="apellidos">apellidos &nbsp;</label><@spring.formInput "usuario.apellidos" /> <br/>
					<#list spring.status.errorMessages as error> <b>${error}</b> <br> </#list>
				</div>
				<div>
					<label for="email">e-mail &nbsp;</label><@spring.formInput "usuario.email" /> <br />
					<#list spring.status.errorMessages as error> <b>${error}</b> <br> </#list>
				</div>
				<div>
					<label for="username">usuario &nbsp;</label><@spring.formInput "usuario.username" "id='username'"/> <br />
					<#list spring.status.errorMessages as error> <b>${error}</b> <br> </#list>
				</div>
				<div>
					<label for="password">contrase&ntilde;a &nbsp;</label><@spring.formPasswordInput "usuario.password" /> <br />
					<#list spring.status.errorMessages as error> <b>${error}</b> <br> </#list>
				</div>
				<div>
					<label for="password2">repetir contrase&ntilde;a &nbsp;</label><@spring.formPasswordInput "usuario.password2" /> <br />
					<#list spring.status.errorMessages as error> <b>${error}</b> <br> </#list>
				</div>
				<div>
					<label for="archivoFoto">Avatar</label><input type="file" name="archivoFoto"/>
				</div>
				<div>				
					<input type="submit" value="aceptar"/>			
				</div>			
			</form>
    	</div>		
	  </div> 
	</div> <!-- bd -->
	
<#include "inc/footer.ftl">